package com.edu.imau.ManageUserInformation;

import java.io.Serializable;

public class User implements Serializable {
    private int id;
    private String code;
    private String number;
    private String name;
    private String carcode;
    private String indate;
    private String outdate;
    public User() {};
    public User(int id,String code, String number, String name, String carcode, String indate, String outdate) {
        this.code = code;
        this.number = number;
        this.name = name;
        this.carcode = carcode;
        this.indate = indate;
        this.outdate = outdate;
        this.id = id;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", number='" + number + '\'' +
                ", name='" + name + '\'' +
                ", carcode='" + carcode + '\'' +
                ", indate='" + indate + '\'' +
                ", outdate='" + outdate + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCarcode() {
        return carcode;
    }

    public void setCarcode(String carcode) {
        this.carcode = carcode;
    }

    public String getIndate() {
        return indate;
    }

    public void setIndate(String indate) {
        this.indate = indate;
    }

    public String getOutdate() {
        return outdate;
    }

    public void setOutdate(String outdate) {
        this.outdate = outdate;
    }
}
